package com.platform.common.core.domain.entity;

import com.platform.common.core.annotation.Excel;
import com.platform.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 航点信息对象 dic_airport
 *
 * @author xuefk
 * @date 2023-04-17
 */
public class DicAirport extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 机场三字码
     */
    @Excel(name = "机场三字码")
    private String airportCode;

    /**
     * 机场四字码 预留字段，以三字码为主
     */
    @Excel(name = "机场四字码 预留字段，以三字码为主")
    private String icaoCode;

    /**
     * 机场中文名
     */
    @Excel(name = "机场中文名")
    private String nameCn;

    /**
     * 机场英文名
     */
    @Excel(name = "机场英文名")
    private String nameEn;

    /**
     * 机场全称
     */
    @Excel(name = "机场全称")
    private String nameFull;

    /**
     * 国内国际标识(0:国内;1:国际;)
     */
    @Excel(name = "国内国际标识(0:国内;1:国际;)")
    private String intflag;

    /**
     * 数据开关
     */
    @Excel(name = "数据开关")
    private String dataSwitch;

    /**
     * sita地址
     */
    @Excel(name = "sita地址")
    private String sita;

    /**
     * 洲际代码
     */
    @Excel(name = "洲际代码")
    private String areaCode;

    /**
     * 国家代码
     */
    @Excel(name = "国家代码")
    private String countryCode;

    /**
     * 删除标记 0未删除；1删除
     */
    @Excel(name = "删除标记 0未删除；1删除")
    private String isDelete;

    /**
     * 主流机场的四字码
     */
    @Excel(name = "主流机场的四字码")
    private String ident;

    /**
     * 机场的种类：大机场、中机场、小机场、直升机机场
     */
    @Excel(name = "机场的种类：大机场、中机场、小机场、直升机机场")
    private String type;

    /**
     * 纬度
     */
    @Excel(name = "纬度")
    private String latitudeDeg;

    /**
     * 经度
     */
    @Excel(name = "经度")
    private String longitudeDeg;

    /**
     * 机场标高（单位英尺）
     */
    @Excel(name = "机场标高", readConverterExp = "单=位英尺")
    private String elevationFt;

    /**
     * 机场所在省或市地区编码
     */
    @Excel(name = "机场所在省或市地区编码")
    private String isoRegion;

    /**
     * 自治市或区英文
     */
    @Excel(name = "自治市或区英文")
    private String municipality;

    /**
     * 定期航班YES有/NO没有
     */
    @Excel(name = "定期航班YES有/NO没有")
    private String scheduledService;

    /**
     * 本地代码
     */
    @Excel(name = "本地代码")
    private String localCode;

    /**
     * 机场网址
     */
    @Excel(name = "机场网址")
    private String homeLink;

    /**
     * 关键词
     */
    @Excel(name = "关键词")
    private String keywords;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setAirportCode(String airportCode) {
        this.airportCode = airportCode;
    }

    public String getAirportCode() {
        return airportCode;
    }

    public void setIcaoCode(String icaoCode) {
        this.icaoCode = icaoCode;
    }

    public String getIcaoCode() {
        return icaoCode;
    }

    public void setNameCn(String nameCn) {
        this.nameCn = nameCn;
    }

    public String getNameCn() {
        return nameCn;
    }

    public void setNameEn(String nameEn) {
        this.nameEn = nameEn;
    }

    public String getNameEn() {
        return nameEn;
    }

    public void setNameFull(String nameFull) {
        this.nameFull = nameFull;
    }

    public String getNameFull() {
        return nameFull;
    }

    public void setIntflag(String intflag) {
        this.intflag = intflag;
    }

    public String getIntflag() {
        return intflag;
    }

    public void setDataSwitch(String dataSwitch) {
        this.dataSwitch = dataSwitch;
    }

    public String getDataSwitch() {
        return dataSwitch;
    }

    public void setSita(String sita) {
        this.sita = sita;
    }

    public String getSita() {
        return sita;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setCountryCode(String countryCode) {
        this.countryCode = countryCode;
    }

    public String getCountryCode() {
        return countryCode;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIdent(String ident) {
        this.ident = ident;
    }

    public String getIdent() {
        return ident;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setLatitudeDeg(String latitudeDeg) {
        this.latitudeDeg = latitudeDeg;
    }

    public String getLatitudeDeg() {
        return latitudeDeg;
    }

    public void setLongitudeDeg(String longitudeDeg) {
        this.longitudeDeg = longitudeDeg;
    }

    public String getLongitudeDeg() {
        return longitudeDeg;
    }

    public void setElevationFt(String elevationFt) {
        this.elevationFt = elevationFt;
    }

    public String getElevationFt() {
        return elevationFt;
    }

    public void setIsoRegion(String isoRegion) {
        this.isoRegion = isoRegion;
    }

    public String getIsoRegion() {
        return isoRegion;
    }

    public void setMunicipality(String municipality) {
        this.municipality = municipality;
    }

    public String getMunicipality() {
        return municipality;
    }

    public void setScheduledService(String scheduledService) {
        this.scheduledService = scheduledService;
    }

    public String getScheduledService() {
        return scheduledService;
    }

    public void setLocalCode(String localCode) {
        this.localCode = localCode;
    }

    public String getLocalCode() {
        return localCode;
    }

    public void setHomeLink(String homeLink) {
        this.homeLink = homeLink;
    }

    public String getHomeLink() {
        return homeLink;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public String getKeywords() {
        return keywords;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("airportCode", getAirportCode())
                .append("icaoCode", getIcaoCode())
                .append("nameCn", getNameCn())
                .append("nameEn", getNameEn())
                .append("nameFull", getNameFull())
                .append("intflag", getIntflag())
                .append("dataSwitch", getDataSwitch())
                .append("sita", getSita())
                .append("areaCode", getAreaCode())
                .append("countryCode", getCountryCode())
                .append("isDelete", getIsDelete())
                .append("ident", getIdent())
                .append("type", getType())
                .append("latitudeDeg", getLatitudeDeg())
                .append("longitudeDeg", getLongitudeDeg())
                .append("elevationFt", getElevationFt())
                .append("isoRegion", getIsoRegion())
                .append("municipality", getMunicipality())
                .append("scheduledService", getScheduledService())
                .append("localCode", getLocalCode())
                .append("homeLink", getHomeLink())
                .append("keywords", getKeywords())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .toString();
    }
}
